package com.wtp.wallpaper.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import javax.persistence.*;

/**
 * 表名：score
*/
@TableName("score")
@Data
@ToString
public class Score {
    @TableId
    private Long id;

    /**
     * 用户
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 图片
     */
    @Column(name = "pic_id")
    private Long picId;

    /**
     * 评分
     */
    private Float score;


}